package com.panghu.service.impl;

import com.panghu.entity.Student;
import com.panghu.mapper.StudentMapper;
import com.panghu.service.StudentService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

/**
 * <p>
 * 学生信息表 服务实现类
 * </p>
 *
 * @author huahua
 * @since 2022-03-19
 */
@Service
public class StudentServiceImpl extends ServiceImpl<StudentMapper, Student> implements StudentService {
    @Resource
    StudentMapper studentMapper;

    @Override
    public Student findStuById(Integer id) {
        return studentMapper.findStuById(id);
    }
}
